package com.cci.kangdao.dao;


import com.cci.kangdao.dao.model.RegularLocation;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

@MapperScan
public interface RegularLocationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RegularLocation record);

    int insertSelective(RegularLocation record);

    RegularLocation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RegularLocation record);

    int updateByPrimaryKey(RegularLocation record);

    List<RegularLocation> getRegularLocationList(Map<String, Object> map);

    void updateByUserIdAndEsn(@Param("userId") long userId,@Param("customerEngineRelId") Long customerEngineRelId);

    List<RegularLocation> selectByCustormerId(Long customerEngineRelId);
}